package com.simplenix.nicasio.navig;

/**
 *
 * @author fronald
 */
public class Tab {

	private String label;

	private String description;

	private String targetPage;

	private String contextPage;

	private String name;

	private String featureName;

	public Tab(String name, String label, String description, String targetPage, String featureName) {
		this.loadTab(name, label, description, targetPage, null, featureName);
	}

	public Tab(String name, String label, String description, String targetPage, String contextPage, String featureName) {
		this.loadTab(name, label, description, targetPage, contextPage, featureName);
	}

	private void loadTab(String name, String label, String description, String targetPage, String contextPage, String featureName) {
		this.label = label;
		this.name = name;
		this.description = description;
		this.targetPage = targetPage;
		this.contextPage = contextPage;
		this.featureName = featureName;
	}

	/**
	 * @return the label
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * @param label the label to set
	 */
	public void setLabel(String label) {
		this.label = label;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the targetPage
	 */
	public String getTargetPage() {
		return targetPage;
	}

	/**
	 * @param targetPage the targetPage to set
	 */
	public void setTargetPage(String targetPage) {
		this.targetPage = targetPage;
	}

	/**
	 * @return the contextPage
	 */
	public String getContextPage() {
		return contextPage;
	}

	/**
	 * @param contextPage the contextPage to set
	 */
	public void setContextPage(String contextPage) {
		this.contextPage = contextPage;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the featureName
	 */
	public String getFeatureName() {
		return featureName;
	}

	/**
	 * @param featureName the featureName to set
	 */
	public void setFeatureName(String featureName) {
		this.featureName = featureName;
	}

}
